<?php

return [
    /*
    |-----------------------------------------------------------
    | 【必填】企业 corpId
    |-----------------------------------------------------------
    */
    'corp_id' => env('DINGTALK_CORP_ID', ''),

    /*
    |-----------------------------------------------------------
    | 【必填】应用 AppKey
    |-----------------------------------------------------------
    */
    'app_key' => env('DINGTALK_APP_KEY', ''),

    /*
    |-----------------------------------------------------------
    | 【必填】应用 AppSecret
    |-----------------------------------------------------------
    */
    'app_secret' => env('DINGTALK_APP_SECRET', ''),

    /*
    |-----------------------------------------------------------
    | 【选填】加解密
    |-----------------------------------------------------------
    | 此处的 `token` 和 `aes_key` 用于事件通知的加解密
    | 如果你用到事件回调功能，需要配置该两项
    */
    'token' => env('DINGTALK_TOKEN', ''),
    'aes_key' => env('DINGTALK_AES_KEY', ''),

    'oapi_app_id' => env('DINGTALK_OAUTH_APP_ID', ''),
    'oapi_app_secret' => env('DINGTALK_OAUTH_APP_SECRET', ''),
    'oapi_redirect' => env('DINGTALK_OAUTH_REDIRECT', '')
];